<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% extends "thesite/the_header.html" %}
</head>
<body>
{% block content %}
<script src="/static/js/the_test.js"></script>
    <p onmouseover="style.color='red'" onmouseout="style.color='blue'">
        你已登录，欢迎你：{{ user.nickname }}{{user.all}}
        <button class="btn btn-default"><a href="/cal">计算</a></button>
        <button class="btn btn-default"><a href="/logout">注销</a></button>
    </p>
    <!--<p id="myDiv" onclick="display(this)">123</p>-->
    <!--<form method="post">-->
        <!--{% csrf_token %}-->
        <!--{{from.as_p}}-->
    <!--</form>-->
    <ul>
    {% if res|length < 0 %}
        <p>呵呵呵<img src="/static/images/1.png"></p>
    {% else %}
        {% for i in res %}
           <p>
               {% for j in i %}
               {{ j }}
               {% endfor %}
           </p>
        {% endfor %}
    {% endif %}
    </ul>
{% endblock %}
</body>

</html>